TierPricingTable\Addons\RoleBasedPricing\RoleBasedPriceManager A

Total Complexity 61
Dependencies 0
Dependents 1
Total lines 340
Lines of code 146
Logical lines of code 85
Comment lines 120
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
roleHasRules()
A
56 10 15
getPriceRules()
A
52 8 24
updatePercentagePriceRules()
S
62 6 10
getProductQtyMin()
S
57 5 15
getPricingType()
S
59 5 12
updateFixedPriceRules()
S
63 5 9
getProductRegularRolePrice()
S
62 4 10
getProductSaleRolePrice()
S
62 4 10
variationHasNoOwnRules()
S
65 3 8
updatePriceRulesType()
S
71 2 5
updateProductQtyMin()
S
69 2 6
updateRegularRolePrice()
S
73 2 4
updateSaleRolePrice()
S
73 2 4
deleteAllDataForRole()
S
66 1 8
getFixedPriceRules()
S
78 1 3
getPercentagePriceRules()
S
78 1 3